package cn.com.headfree.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gta.edu.sdk.mybatis.common.Entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 工作流 实体类
 * @author smyl
 * @date 2020-06-23 15:59:50
 */
public class TWorkFlow extends Entity implements Serializable {

	private static final long serialVersionUID = 1L;

       	/**
	 * id
	*/
    private String id;
      	/**
	 * 业务id
	*/
    private String businessId;

	/**
	 * 信息类别id
	 */
	private String businessTypeId;
	/**
	 * 处理人erp_no
	 */
	private String dealErpNo;
	/**
	 * 处理人姓名
	 */
	private String dealName;
	/**
	 * 处理意见
	 */
	private String dealOpinion;
	/**
	 * 流程达到时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private String arriveTime;
	/**
	 * 流程处理时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private String dealTime;
	/**
	 * 处理状态(0:未处理   1：已处理)
	 */
	private String status;
      	/**
	 * 创建者id
	*/
    private String createrId;
      	/**
	 * 创建者姓名
	*/
    private String createrName;
      	/**
	 * 创建时间
	*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
      	/**
	 * 更新者id
	*/
    private String updaterId;
      	/**
	 * 更新者姓名
	*/
    private String updaterName;
      	/**
	 * 更新时间
	*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;
      	/**
	 * 0:未删除1：已删除
	*/
    private Integer delSign;
      	/**
	 * 是否有效数据(0:有效，1:无效)
	*/
    private Integer isValid;
	/**
	 * 原始数据ID
	 */
	private String primitiveId;

	/**
	 * 审核角色集合
	 * @return
	 */
	private String dealRoleCode;

	public String getDealRoleCode() {
		return dealRoleCode;
	}

	public void setDealRoleCode(String dealRoleCode) {
		this.dealRoleCode = dealRoleCode;
	}

	public String getPrimitiveId() {
		return primitiveId;
	}

	public void setPrimitiveId(String primitiveId) {
		this.primitiveId = primitiveId;
	}


	@Override
	public String getId() {
		return id;
	}

	@Override
	public void setId(String id) {
		this.id = id;
	}

	public String getBusinessId() {
		return businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}

	public String getBusinessTypeId() {
		return businessTypeId;
	}

	public void setBusinessTypeId(String businessTypeId) {
		this.businessTypeId = businessTypeId;
	}

	public String getDealErpNo() {
		return dealErpNo;
	}

	public void setDealErpNo(String dealErpNo) {
		this.dealErpNo = dealErpNo;
	}

	public String getDealName() {
		return dealName;
	}

	public void setDealName(String dealName) {
		this.dealName = dealName;
	}

	public String getDealOpinion() {
		return dealOpinion;
	}

	public void setDealOpinion(String dealOpinion) {
		this.dealOpinion = dealOpinion;
	}

	public String getArriveTime() {
		return arriveTime;
	}

	public void setArriveTime(String arriveTime) {
		this.arriveTime = arriveTime;
	}

	public String getDealTime() {
		return dealTime;
	}

	public void setDealTime(String dealTime) {
		this.dealTime = dealTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCreaterId() {
		return createrId;
	}

	public void setCreaterId(String createrId) {
		this.createrId = createrId;
	}

	public String getCreaterName() {
		return createrName;
	}

	public void setCreaterName(String createrName) {
		this.createrName = createrName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUpdaterId() {
		return updaterId;
	}

	public void setUpdaterId(String updaterId) {
		this.updaterId = updaterId;
	}

	public String getUpdaterName() {
		return updaterName;
	}

	public void setUpdaterName(String updaterName) {
		this.updaterName = updaterName;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getDelSign() {
		return delSign;
	}

	public void setDelSign(Integer delSign) {
		this.delSign = delSign;
	}

	public Integer getIsValid() {
		return isValid;
	}

	public void setIsValid(Integer isValid) {
		this.isValid = isValid;
	}
}
